package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.ShopCar;

import java.util.List;

public interface IShopCarService {
    /**
     * 加入购物车
     * @param entity
     */
    void save (ShopCar entity);

    List<ShopCar> getProductByUser(Long userId);

    void delete(Long id);
}
